package com.example.lib1;

public class ReadHeadDuck extends Duck{

    @Override
    public void display() {
        System.out.println("I am Red duck");

    }

    ReadHeadDuck(){
        flyBehavior = new FlyWithWings();
        quackBehavior = new Quack();
    }
}
